<div class="page">

    <div class="sidebar_page">
        <div class="content" id="video_content">
            <div id="articles">
                <div class="page_capt clearfix">
                    <div class="fl_left" id="video_categories">
                        <h2>Video</h2>
                        <div class="fl_right filter_opt">
                            <form id="video_filter_form" name="memb_filter_form" action="?page=video_search&ipp=24" method="get">
                                <label for="memb_filter_term">Traži</label>
                                <input type="hidden" name="page" value="video_search"/>
                                <input type="hidden" name="ipp" value="24"/>
                                <input class="inp_text" id="memb_filter_term" name="memb_filter_term" type="text" />
                                <label for="memb_filter_sort">Sortiraj po</label>
                                <select class="inp_select" id="memb_filter_sort" name="memb_filter_sort">
                                    <option value="naslov desc">naslovu opadajuce</option>
                                    <option value="naslov asc">naslovu rastuce</option>
                                    <option value="id asc">datumu unosa</option>
                                </select>
                                <input class="inp_btn" id="vid_filter_submit" name="vid_filter_submit" type="submit" value="Traži" />
                            </form>
                        </div>
                        <span><a href="?page=video">Svi</a></span>
                        {foreach from=$kategorije item='kategorija'}
                            <span><a href="?page=video&kategorija={$kategorija.kategorija}">{$kategorija.kategorija}</a></span>
                        {/foreach}
                    </div>
                </div class="video_search">
                <div class="video_block">  
                    {foreach from = $videosSearch item='videoSearch'}
                        <div class="video_image">
                            <a href="?page=video&videoid={$videoSearch.id}&ipp=10{$kategorijaSidebarUrl}"><img width="150" height="80" src="{$videoSearch.thumb.0.url}" /></a>
                            <h4><a href="?page=video&videoid={$videoSearch.id}&ipp=10{$kategorijaSidebarUrl}">{$videoSearch.title}</a></h4>
                            <p>{$videoSearch.views} views</p>
                        </div>
                    {/foreach}
                </div>
                <div class="gal_nav">
                    {$paginatorSidebarVideos}
                </div>

                <div>

                </div>   

            </div>


        </div>
        <div class="sidebar" id="video_sidebar">
            <div class="video_block">  
                {foreach from = $sideVideos item='sideVideo'}
                    <div class="video_image">
                        <a href="?page=video&videoid={$sideVideo.id}&ipp=10{$kategorijaSidebarUrl}"><img width="106" height="64" src="{$sideVideo.thumb.0.url}" /></a>
                        <h4><a href="?page=video&videoid={$sideVideo.id}&ipp=10{$kategorijaSidebarUrl}">{$sideVideo.title}</a></h4>
                        <p>{$sideVideo.views} views</p>
                    </div>
                {/foreach}
            </div>
            <div class="gal_nav">
                {$paginatorSidebarVideos}
            </div>

        </div>
    </div>
</div>